While exiting a CAT D8T bulldozer, the operator was utilizing 3 point(s) of contact. When the employee stepped off of the dozer EE's right foot was on a loose rock which resulted in the worker rolling their ankle when shifting weight to the right foot. The worker sustained a fracture to the right ankle as a result of improper footing when transitioning from equipment to the ground.