When a company is aware that most of its employees are waiting for the bonus month to resign then bonus is not on the generous side. "They are leaving anyway so why should we give them anything"…is what they are thinking.
Salary increase is always better than bonus. Bonus is just a carrot