Space bar sends cursor to the beginning of the sentence instead of making a space

What I did: tap the space bar

What happened: cursor moves to the beginning of the sentence.

What I expected: a space between the just typed word and the next

Things that might be helpful to know (Agenda version, OS and model, etc):
Using 3rd gen iPad Air which hi believe is the current one (bought in 2020).

Can you give us any more context? Does this happen every time, or just sometimes? What situations does it happen?

Any chance you can make a short screen capture video of it?