Light switch wiring - one switch controls another light and makes original switch redundant
It looks like he got the switched load from lamp A tied into both lamps. The hot from switch A going to switch B and load  switch B  going to lamp B.  Now when switch B is closed, both lamps will be on, wired in series, and switch A does nothing. If switch B is off, then A is normal.