The Touch Bar is very sensitive and picks up accidental touches. F-keys require pressing down.
Personally, I tend to unconciously rest my hands spread out over the keyboard when I'm not typing. My thumbs are down by the space bar, and my fingers on top of the Touch Bar.