When the bees returned to their fellows in the nest they told them with a waggle dance which pathway to use to get more pollen. Despite the 10 meter pathway appearing to the bees to be further away they told other bees to go to the feeder in the 10 meter pathway. Somehow, they had worked out that it used up less energy to go to this feeder than the one on the other pathway.
It is believed that bees have "calorimeters" built into their brains. They do not judge energy expenditure solely based on distance travelled. A partly covered pathway would be given the okay over a pathway out in the weather for example.
Bees are smart little critters and we can learn a great deal from them.