A red flag showing on the black menu bar indicates there is a problem with the Xero sync:

Click the flag to view the recent sync history, click an item in the list for further details about the problem:

The message will give specific details about the problem, here's an example: