Choice, context, and constraint: When and why do women disengage from STEM?