The short Story is, that they only mark the country of the company who sells the products and not the country of origin. So for wxamble, their own peanuts are marked with a star as they are based in EU as a company, but their peanuts can come from the US. Same gores with “California raisins” and other products what recieve the EU mark simply because the company who owns the brand are based in EU.
I believe this is easily solved by considering why consumers care about origin so much in these times. Namely, to boycot US. So simply indicating on the product (e.g. with a us flag) whether any part of its production chain is US-based and hence will put money in US hands, is enough for consumers to make a choice about the product.
Too bad they are too chicken shit to actually say it out loud