When you use apps in small windows, your phone is running multiple applications at the same time. This is known as composite use, where the device is handling several processes concurrently. Each APP consumes CPU, GPU, and RAM resources. When several apps are active simultaneously, the overall power consumption increases, which results in more heat being generated by the phone's internal components.
If you're using multiple apps in small windows, consider closing the ones that aren't essential to reduce the power load on the system.
Try using them in full-screen mode instead of in small windows to help manage the load more effectively.
If your phone is consistently heating up, taking short breaks can help reduce heat buildup.
Does it help?