I am pretty sure the the S10 Plus only supports 15 watt charging, the S10 5G supports 25 watt charging. https://www.androidauthority.com/fastest-charging-cables-samsung-galaxy-s10-1011939/
Whilst the S10 charger works fine with my S21 Ultra (I did test it)it certainly does not support Ultra Fast charging. I purchased the 25 watt charger.
I do not work for Samsung or make Samsung Products but provide independent advice and valuable contributions.
My Device- S21 Ultra 5G ( SM-998B/DS ) CSC= BTU , 12GB/256GB
One Ui 5.0,Android 13 .