On rides where lockers are necessary, they are free (for a certain amount of time relating to the crowds that day). On JP, lockers are NOT necessary, so they have an upcharge. However, it clearly states that all loose articles including hats and sunglasses have to be secure, so this particular employee felt the need to enforce that rule extra strictly. There's no reason he shouldn't have, maybe he was new and thought it was a big deal, who knows.