Why flamethrowers were created

Why flamethrowers were created