If you tried to keep clear from the moment "A" tacked and were unable to do so, then "A" failed to give "room and opportunity" for "B" to keep clear. It would have been a much softer landing if "B" had rounded up instead of trying to duck.