Aztecs relied on agricultures to fulfill their basic needs. Sometimes, their environment just prevented them from having a proper harvest. Things such as little rainfalls and pest infestations contribute to this hardship.
Aztecs' priest often conducted human sacrifice rituals in such situations. They believed that sacrificing human lives will gained them favor from the Gods and the Gods will help them in their lives by giving them a good harvest.
As a president, it's his duty and responsibility to play the role of head in the government functions and also to solve the problem if any in the conflicts between the various states etc.