Question 15: WHY DO CELESTIAL BEINGS IN HEAVENS HAVE A LIMITED LIFESPAN? CAN’T THEY STAY THERE FOREVER?
Answer: The Heaven realms are places where beings enjoy the blissful rewards corresponding to the good karma they have accumulated in the past. However, no good karma can yield infinite results, no blissful reward is endless, so even celestial beings in the heavens have a limited lifespan. This is the fairness of the Law of Karma.
source