It also happens to me, when i use chatgpt and cred app.
If i just go back/exit from the app, the phone after some times starts throttling, heating, and battery starts draining.
Everytime i use chatgpt or cred app, i force close it after using.
Then this thing doesn’t happen