In Tsumiki's case, it's because once he was named Student Council President and had some free time, he started learning about everybody in the class, so he would know that Shizuka can't stand loud noises like fire alarms.