This matter is serious on the one hand and harmful on the other. It is harmful because if they come like that all together, they harm the people and it is known that it is not permissible for anyone to deliberately harm or annoy the Muslims.
As for its seriousness, that is because, as the questioner says, some people end up doing tawaaf with their backs to the Kaâbah or with the Kaâbah in front of them. One of the conditions of tawaaf is that you should walk with the Kaâbah on your left. If you walk with your back to it or with it on your right or in front of you, then tawaaf is not valid. End quote.
Majmooâ Fataawa Ibn âUthaymeen, 22/287, 288