It comes from tech and ai making lots of jobs obsolete in the following years-decades and governments having on their hands millions of angry folks having nothing to do. Just imagine what self driving trucks will do to truckers in US.
Citizens of ancient Rome were on UBI to keep them from revolting.
Give the people panem et circenses or they're gonna have your head, no matter if you're the emperor. Nothing changed.