Glass bottles used to be much more common but they're more expensive, very easy to break, and heavier, which also increases cost of transportation. Paper containers for things can't be allowed to get wet which often makes them impractical. Metals are expensive, potentially reactive, heavy, and inflexible.
Yes plastics are very environmentally problematic, but they do solve a lot of problems that aren't really solved by any other kind of material.
The choice was a purely pseudo-economic one.
a) Alternatives needed less than 12 months longer R&D.
b) Alternatives were less than 5% more expensive.
c) Alternatives were reusable/repairable and would not have been single-use, which would have reduced production mid- and long-term.
d) Alternatives would have sparked more industries and would have created more jobs, more captains and more (metaphorical) ships, especially in engineering and crafts.
e) Alternatives would have meant better production methods and waste that would be easier and more constructive to handle, which would have meant better health and a more thriving environment and natural produce, which would have meant less opportunity to study negative impacts on humans as well as flora and fauna and less opportunity to make all kinds of swarms dependent on corporate "solutions".
Again, alternatives would have sparked more industries and would have boosted our civilization's/colony's R&D by 50 or more years. And the resulting cumulative competition would have boosted R&D even further. More money overall, less of gap between the wealthiest and the rest.
Pretending that the growing populations required unhealthy factory jobs is thus irrational. People were keen to learn and work and thrive and even dimwits like me had enough brains to catch up within a few months or years.
The conventional argument "do we create jobs now or later" is nonsense, as more emerging industries would have meant at least just as many jobs.
I could probably use an LLM and some books to craft a much better and technical answer but I probably won't use any for at least some longer while.
Life is better without plastic straws and plastic plates and plastic knifes and so on ... and people who don't care usually care but the brain structure to admit that is premature.
99% of these things are entirely cultural and habitual.
Nobody will really miss single apples wrapped in plastic in the store.
In 60 years I don't recall ever seeing a single apple wrapped in plastic in a store.
I have seen a plastic bag of apples pre selected weighed and ready to be grabbed .. but most apples are loose and you bag them yourself picking as many of the ones you want individually.
The irony of making phones out of glass is they are terribly fragile and often become e-waste after so much as being knocked off a table.
20th century plastic telephones were so rugged they often doubled as weapons in films.