Even though they were a new teacher, Bailey gave the student detention. The student had been disrespectful to them.
Why did Bailey do this?
give the student a second chance
be a vengeful person to the student
assert her authority over the student