I noticed that my Pixel6 gets very hot and the battery drains more quickly when there are updates pending for the apps. As soon as I update them, the issue goes away. I am still using android version 12
Can you clarify -- are you saying it heats up while the apps are actively updating, or only when they're ready to update?
if there are a lot of apps updating, it's not that unusual for a phone to warm up a bit. The process of downloading and updating (or installing) an app increases CPU usage.