Since they can't verify the contents (even if it appears new), the TSA and airports don't want the liability for somebody having an allergic reaction, the liquid possibly being a hazardous material or some other liability. Secondly is the logistics of storing it, potentially leaking, and trying to donate it.