Squirrels are known for enjoying nuts, and are really good climbers. When people put bird feeders way up in trees, squirrels still have no problem getting to them, to get to the nuts inside.
Since squirrels do not like all the nuts birds do, like safflower and white proso millet, this is one safe way to discourage them from getting to the them.