There are 3 major factors that drive the decision of dividend declaration.
1) Fund policy - Certain funds have a stated policy of dividend declaration & so they keep declaring dividends from time to time.
2) Competition - When other MFs are declaring dividends than fund house will take notice and decide for declaring dividend.
3) The market - If Fund house has lots of money in the kitty, than decide after seeing the market.