The S22 charges at a maximum of 45W. That’s technically within the 60W limit that all USB-C cable can handle. I could not find how exactly how the charging works but it’s possible that they are doing something like 9V @ 5A and thus are requiring a 240W or 100W cable. However it looks like in this particular case it might not matter.
GSMArena says the Galaxy S22+ charged to full in 62 minutes on the 25 W charger and 61 minutes on the 45 W charger. The Ultra took 59 minutes on the 45 W charger and 64 minutes on the 25 W charger.