I mean that's the obvious answer, but there's a culture (mainly in the US but elsewhere too) that drinks should be taken on the go / while driving instead of just sitting down. I mean straws are a side-effect of an established practice of take-out meals & drinks and avoiding doing (or paying for someone to do) dishes.
Make coffee at home. Sit down for a meal. Make food at home. Make time to do these things. Which is easier said than done, granted - they're big cultural and political shifts that require things like affordable housing and living wages.
Getting rid of straws is easier than giving people a living wage.