The reason a violent death led to one souls being able to immediately enter the Mayan heaven is because the gods are thankful for your sacrifice to them.
According to Mayan beliefs, a violent death allows a person's soul to enter heaven immediately because the gods appreciate their sacrifice.