If you notice him acting this way again, try to get it on video - it would be helpful for a proper diagnosis by your vet. Hope it’s nothing serious.