It's likely that whatever circuit makes your lights flicker is getting into the power. Or that the current changes by the flickering of the lights itself is getting into the power. The amp amplifies it and send it to the speaker. It's kind of the same as the 60 cycle hum you hear on the radio...