Too many apps running in the background can cause the phone to get hot. A bad battery can be ruled out. Sometimes, it's because of a malicious software. The thing is that all phones can get a little hot from time to time.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.