The first hat was created by the official ROBLOX account itself, not by a community user.
It makes sense when you think about how the platform launched. Early on, almost every asset in the catalog came from the developers directly, and hats were among the first cosmetic items they added before user-created content became the norm.
Today the avatar shop is dominated by community-made items, but the originals still trace back to that single official account.