Maybe a very dumb question, but why didn't they build anonymity into it rather than advise users to route it over Tor? My guess is it may have something to do with the Unix philosophy. It's still a great tool regardless.
Building anonymity into a tool is not trivial. Doing it right is very hard. Doing it right also has significant drawbacks in terms of performance for people who don't need anonyminity. Tor is a great, well studied and well supported way for people to browse anonymously, so yeah, definitely a bit of the unix philosophy in there. That said, we plan on building anonymity tooling into ipfs in the future, its just non-trivial.
@whyrusleeping is right, and adding to that, there's a work-in-progress Onion transport which is already being used by OpenBazaar in their fork of go-ipfs.
The respective work on making IPFS's routing work safely in an anonymous use case will be upstreamed soon.
Currently I'd advice against directly running IPFS over Tor or I2P, because it'll likely leak your IP addresess. OpenBazaar have successfully made it work as an Onion service, and their work is going to be upstreamed into go-ipfs soon.