Chosen Solution

Hello, I have a normal iPhone 7, it just turned off while i am using it I went to the store because I expected the screen problem and he told me that the screen and battery had been changed and the problem was not solved He told me that it might be a problem with the ic power I just tried it and when I put the charger , the area marked in the picture is getting overheat Then the Motherboard getting medium heat

Is there anyone who has experienced like this a problem and knows the solution or cause of it?

There is shorting on the circuit that produces heat. Might be or might not be the issues of power ic. One thing remembers is that shorting on the circuit is the main culprit for that issue.