interesting , im not sure though if its a bug.
3 modes are very clear , white [ safe ] , yellow [ on alert ] , red [ hostile ]
as for changing targets , this could be due to the vision of the robot or a intended way of attack.
with that said , why not put this into feedback on forums on your ideas how it could be better .