People who are greedy and envious are in danger of being reborn as hungry ghosts. Hungry ghosts also can be understood allegorically as people with addictions or obsessions.
So what better subject for a festival?
Feeding the Hungry Ghosts
There are hungry ghost festivals in July and August in many Asian countries.

