Why do students and instructors bow?

Bowing in Japan is a sign of respect and a sanitary greeting. Bowing to a room when you enter shows respect for the room and greets those in it. Bowing as you enter a Dojo shows respect for martial arts and the dojo itself.