Bees will of course be frightened if you step on or near them. Shoes don't make them less frightened, but protect feet from frightened bees. Wear long pants when you know you are going to be in an area that is likely to have bees in it, such as a field. Wear a hat. Furry animals steal honey from bees.
Bees are in a heightened state of readiness when they are close to hair or fur.
They have been proven to have a lower threshold for stinging people with hats. The beekeeper today was wearing a pastel baseball cap. The bee's stinger is barbed. In the act of stinging, the stinger is torn from the bee, along with the venom-filled poison sac and attached muscles. The barbs continue to work the stinger deeper into the flesh for several minutes, while venom continues to be injected.