Welcome to the site. Flame deflections are not always used on small rockets
But as rockets become larger they are increasingly necessary at least on Earth, Flame deflectors such as flame trenches serve a number of purposes. Firstly they prevent damage to the rocket caused by the rebounding of foreign objects such as concrete particles up into the rocket. Secondly they ensure that hot exhaust gases are directed away from the launch pad facilities to minimise exposure.
Sound suppression is also important and the suppression is greatly enhanced by the use of large quantities of water sprayed directly below the rocket and into the flame trench. This also limits the erosion of the concrete by the hot exhaust gases.
There has been some discussion over the SpaceX Starship proposed landing on Mars and the need for a flame deflector for take-off from the Martian surface. The need for such a flame deflector has not been fully established but it may be necessary to build some form of flame deflector. The situation is complicated due to the low atmospheric pressure, low gravity, the unknown nature of the final landing site and the changing specification of Starship itself.