The flashlight icon is designed to behave like a physical button, so you don’t accidentally trigger the flashlight in your pocket. It even gives you a little haptic “click” so it feels like a physical button.
Admittedly it’s not a very intuitive/discoverable design.