He challenged the teacher by questioning the textbook content.
Tips
usage
发难 can mean either physically rising up in revolt (historical context) or verbally confronting someone with difficult questions (modern debate/political context). Context determines the sense.