I can access a public park, but that doesn't necessarily give me the right to also bike on its sidewalks, or walk on the grass, or take some of the plants home with me.
> ... or has been obtained illegally
Similarly, content that is _accessible_ publicly may be illegal to _obtain_, these aren't mutually exclusive.
On the internet, you'll find there are terms of services and licenses. These restrict how you can use even publicly accessible material. Public availability doesn't give you a license to use it however you want.