My S22Ultra gets hot charging, but having a leather case makes it not so noticeable
I have had S series phones since s2, and they all get hot to degree when charging, some hotter than others
Also whatever apps you run get hotter differently, youtube warm up the phone, some games I play get hot super faster, I usually uninstall them when that happens
Don't worry it should be fine