When was everyone advised to stop sleeping on their stomach?

My first pregnancy they said 20 weeks but this one they say it’s fine forever as long as I’m comfortable. Why the inconsistency?