Question: why are stormtroopers so inaccurate?
Answer: The final reason why stormtroopers would miss in battle is because of the plot armor of the story/film, and to have a random stormtrooper to hit one of the heroes because of “beginner's luck” can cause readers or watchers to grow dissatisfied.