Alireza is right that "trigger" can have negative connotations. Also, I don't think it can be used in the way it is here, i.e. I don't think you can "trigger" a person to do something. A correct way to use "trigger" here would be "I am curious about what triggered your interest in pursuing a career in teaching".