Why does a nearby switch turn off when I use a switch I just replaced?
Presumably:
The &quot;always hot&quot;  feeding power to both switches was confused with the &quot;switched hot&quot; and is now feeding the second switch from the first switch's switched hot, rather than the always hot to the box.