The Freakonomics podcast has a good episode on whether transit should be free.
https://freakonomics.com/podcast/should-public-transit-be-free/
TLDR: Yes, but in some places "subsidize it for the needy and make it more frequent/reliable" may be a better uses of limited resources.