It's called "controlled risk taking"
Children need to take these risks themselves, the caregiver there is to put them in a place where the control limits the damage.