Indy reply #5 above I gave links to modern languages that print right to left.
If the OP lives in one of those areas, it would be the default setting for his region.
Some writing systems of the world, including the Arabic and Hebrew scripts or derived systems such as the Persian, Urdu, and Yiddish scripts, are written in a form known as right-to-left (RTL), in which writing begins at the right-hand side of a page and concludes at the left-hand side. This is different from the left-to-right (LTR) direction used by most writing systems in the world. When LTR text is mixed with RTL in the same paragraph, each type of text is written in its own direction, which is known as bi-directional text. This can get rather complex when multiple levels of quotation are used.
Many computer programs fail to display bi-directional text correctly. For example, the Hebrew name Sarah (שרה) is spelled: sin (ש) (which appears rightmost), then resh (ר), and finally heh (ה) (which should appear leftmost)
That is from Wikipedia. So if you live in Egypt and write in both
Arabic and French, yu might have a document where both in in a single document and the keyboard directions with flop yu move from one language to to next.
So, it is not malware. It is where you live and what you do.