How does rotation of BFM produce both run and tumble? It’s just rotation
So the CCW and CW rotations would not be able to produces run and tumble (respectively) if there was only one flagellum on a bacteria. But a bacteria has multiple flagella (at least E. Coli does, that’s the only one I know so far). This diagram from @changMolecularMechanismRotational2020 paints a clearer picture:

Rotational Switching:
Source: [@rieuNewClassBiological2022]
Source: