Chosen Solution
Its a philips ntrx500/37 bluetooth speaker with a fan at the bottom on the back of speaker.
It’s possible the battery needs to be replace. Well, that is if it can be replaced and if it’s actually worth it. A bad battery could explain why the device is getting hot. There might be some internal protection that is causing the device to then power off to prevent damaged or a fire risk.