There are definitely some situations that will cause your iPhone to overheat, which you'll want to remedy as quickly as possible; if it stays too warm for too long, it could cause permanent damage, including shortened battery life or even a complete shutdown. While charging, intense usage, and data-heavy setup won't necessarily lead to overheating, it's still a possibility.