This is a common symptom of lyme and one many here, including myself have experienced. Disorientation, depersonalisation, derealisation and confusion which often go hand in hand with anxiety.
It could be made worse by herxing too. You're right, it is very unpleasant!! Which abx are you taking? Is there any extra detoxing you could do to see if this reduces this problem?
The good news is it will pass as you heal