What you are doing is a simple mistake
You're pressing B2 as the end of turning L1 and L2 on and B1 as the end of turning them off.
Checking your inputs after both are first turned on you can see it's exactly that.