Unit attack order bug

Anybody else have a weird issue where you sometimes can’t order a unit to attack? I’ve had it happen with Vultures and Condors. When I select them, then move the cursor over to an enemy building or unit, the cursor goes red and they won’t respond to an attack order. I also can’t use their Y ability when this happens. anybody else had this happen to them?

I’ve frequently had Snipers refuse to engage garrisoned units, but not your exact glitch.