Investors pay more per rupee of profit when a company’s future earnings look safer and likely to keep growing. CDSL trades far above Coal India’s PE mainly because demat account growth looks set to continue, while coal demand faces a slow, long-term decline.