It could be a seizure. If it is happening frequently enough, you should get one of these recorded by getting admitted to an epilepsy monitoring unit. That is the best method of getting a definitive answer.
I wish you the best and hope your problems are resolved soon.
Sincerely,
Siddharth.
Next Steps
See a neurologist / epilepsy specialist and talk to them about admission for epilepsy monitoring.