What a great example, Katie!
You were really applying helping relationship skills here. The listening with a non-judgmental attitude probably helped your student to open up and to trust you. It also helped you to learn more about the situation without being closed-minded. Well-done!