Black bears do in fact smell like garbage, but this has nothing to do with whether they have been rooting in garbage or not. I have lived in Alaska my whole life and you can smell them coming even deep out in the forests (assuming you're downwind of it of course). It's a very good indicator that you need to make your presence known and get out of the area.
The primary image is also 100% not a black bear. The face is not even remotely similar.