Hi bro
While charge on iphone 15pro usb c will be move up and down (it like loss)?
It could be small loose connection bro. is the iPhone still under warranty? using original cable?
Yes under warranty and original cable
If its small movement then its normal. else you can check once with apple service center to identify whether any defect is there or not bro.
Ok bro