I imagine that male writers with children would write lots of action stories. In my limited experience, men often encourage children - especially boys - to take risks and to go on "adventures."
Consider the dedication of
The Wizard by H. R. Haggard:
Quote:DEDICATION
To the Memory of the Child
Nada Burnham,
who "bound all to her" and, while her father cut his way through the hordes of the Ingobo Regiment, perished of the hardships of war at Buluwayo on 19th May, 1896, I dedicate these tales—and more particularly the last, that of a Faith which triumphed over savagery and death.
H. Rider Haggard.
The whole story is about facing peril with positive enthusiasm and enduring pain with stoic calm.
Consider, also, that Kipling glorified violence, until his son died in military service.
[
en.wikipedia.org]
Wyss, the original author of the Swiss Family Robinson, wrote adventure stories to teach his children.
Wyss, Haggard, and Kipling are perhaps unrepresentative examples. I have little knowledge of literature - perhaps, for example, Gabriel Garcia Marques has three sons and is a vehement pacifist.
One of the most non-violent adventure writers ever, Arthur Conan Doyle, had several children.
On the other hand, there are many writers who had no children and who produced a very copious literary output.