Both must agree

When you wired two switches in a row, you made an AND gate. The light only comes on if switch A and switch B are both on.

One is never enough. That's the whole rule.