Presumably configuration-dependent: mine doesn’t. My son’s X gets hot enough while charging to be more likely to shut down, but not my 15 Pro.
As a software QA person, I don’t even know how you verify so many configurations, so many interactions with the physical world, so many things that can’t be automated. Then again, I understand Instagram is kind of popular