The cowling also provides containment of parts that happen to go ballistic.
To elaborate, the big benefit is that they keep pieces of the fan blade and engine from cutting through the body of the plane at close to the speed of sound. It’s happened before and is not pretty.