Why does the first sentence turn out to be ironic?

In the living room the voice-clock sang, "Tick-tock,

seven o'clock, time to get up, time to get up, seven

o'clock!" as if it were afraid that nobody would."