Military Craft.
I thought of that right off the bat.
But that really doesn’t explain it’s odd behavior - but then again who knows what the Military would be testing and for what purpose.
Just so long as they don’t aim the stupid thing at me, they can do (almost) anything they want.
I saw something similar when I lived in New Mexico. It’s anyone’s guess what’s out there.