Search Component - lookup field

I can’t explain why it is happening but a quick work around would be to add a salesforce formula file on the contacts object that returns the account name, the add that field to your search