Raise Red Flags

What does the idiom “Raise Red Flags” mean?

Definition:

Warn of trouble ahead

For example:

“Annette seems like the perfect candidate, but the fact that she was fired from her last job raises red flags.”