Not to sound unsympathetic, but I agree. I have a nephew with that same allergy, and giving him a store bought cookie is something that none of us would ever do. Why chance it?
Any processed food or mass produced food must be assumed to be cross contaminated.
Irresponsible, but my sympathies to the family. Publix isn’t liable.