While climbing or swimming, each foot of movement costs 1 extra foot unless a creature has a climbing speed or swimming speed.
The DM can call for a Strength (Athletics) check when climbing or swimming is hard because of danger, distance, rough water, or slippery surfaces.
A special speed lets a creature use that movement normally for the matching mode.