Sunlight
So, roosters mostly follow their internal body clock, and rely less on external stimuli. But, it is possible that their body clock is set according to external stimuli. In case of the second experiment, the roosters followed their body clock and crowed at the same time, everyday.