Sun and Moon- Eclipse
The Maya nobility were also heavily involved in religious rituals. During a solar eclipse, the dark moon covers more and more of the sun, creating the illusion that the sun is being eaten. Thus, the Maya depicted the cataclysmic destruction of an eclipse as a demon biting the sun. To prevent this catastrophe, the Maya would engage in religious ceremonies, sacrifice, and prayer to the gods. Because rebirth was the center of all Maya ceremonies, bloodletting was particularly common as it was thought to balance out death. Only the nobility, including the King, were allowed to perform sacrifices of bloodletting, for common blood could not appease the gods. Animals and trees were also sacred to the Maya, so their blood and sap were offered as well.
https://humanities.byu.edu/the-maya-and-eclipses-the-end-of-a-world/