This is a visual bug but I'm sure it's supposed to be red when the object it is referencing does not exist.
This is supposed to happen when:
You selected an object that no longer exists
You provided an output of a behavior that no longer exists
You provided an asset that no longer exists