Your bishop recaptured the rook after it took yours. You also escaped the knight check, so assess the resulting position rather than stopping at the first capture.