A lamp on a low-voltage classroom diagram lights only if there is a complete conducting path through the source and lamp. An open point along the chosen path breaks it. Decide by tracing the path from one source terminal back to the other.
In the classroom model, each changeover switch chooses one of two paths, A or B. The source-to-lamp path is complete when both switches select the same path. A toggle changes the path selected by that switch.
From A/A or B/B, toggling one switch breaks the conducting path. From A/B or B/A, toggling one switch completes it. Thus either switch changes the lamp’s state, regardless of its previous position.