why would an ungrounded circuit be dangerous
It's likely because they can become very wild and start swinging everywhere , this is dangerous because someone can get seriously shocked , even die.
i rally hope that this helps you a lot , have a nice day :)