[In several of the Petavatthu stories we find situations like this where the ghosts do not feel exclusively painful feelings.]
You are young and surrounded by male and female deities. You look very happy with all the pleasures that you have. But in the daytime, you experience very painful feelings. What did you do in your previous life?
I was a cruel deer hunter living in the city of Rajagaha. I was always looking for something to kill. I did not have any pity on innocent beings.
I had a friend who was very compassionate, a disciple of the Supreme Buddha. He always said, “Do not do evil deeds my friend; do not be reborn in a bad world. If you wish to go to a happy world after death, then stop killing living beings.”
I did not listen to his advice because I took pleasure in killing and was very foolish.
My friend again advised me saying “If you must kill in the daytime, then please at least stop killing at night.”
So I killed living beings in the daytime and stopped during the night.
That is why I enjoy heavenly pleasures at night, but in the day, dogs come and tear off my flesh.
Even though I only restrained from killing at night, I still gained good results from it. Now I imagine the disciples of the Supreme Buddha who practice the Dhamma diligently throughout their lives surely will attain the supreme bliss of Nibbana.
Read this translation of Petavatthu 3.7 Migaluddaka Sutta: The Deer-Hunter by Ven. Kiribathgoda Gnananda Thero on SuttaFriends.org.
You can find the entire translation of the Petavatthu: Stories of Ghosts available on SuttaFriends.org.