Under Texas Alcoholic Beverage Code §106.14, it is illegal for a passenger to possess an open alcoholic beverage container in a motor vehicle on a public highway.
If an officer sees open containers accessible to the driver, the driver can be cited (up to $2,000 fine, 180 days jail, license suspension) even if not drinking.
Store all alcohol in sealed containers in the trunk or locked glove compartment—out of reach of occupants.