The most probable reason is that the heart rate sensor was not dried and detatched from the strap after use. Water and sweat can keep the sensor on even when in the gym bag.