The bug
For some reason, if an animated texture is supplied for the sun, this animation will not be present in-game, even if the animation is otherwise valid.
How to reproduce
A resource pack which provides the same animated texture for both glass blocks and the sun is attached to this ticket.
Download and apply
Look at glass
Look at the sun
Expected results
Both would be an animated alternating checkerboard.
Actual results
Glass appears as expected. However, the sun does not appear animated at all.
Can confirm.