Check fuses, check bulbs. If these are good replace headlight switch.
I've seen two other post on here with the same problem and the same 2008 Tirbeca. I'd ask the dealer if there is a know defect.
Search Subaru Tribeca Questions
Subaru Tribeca Experts