i think it can go both ways. while it's undoubtedly more common for a woman to die to motivate a male character (especially with a kid!), there's examples that invert it. Kill Bill comes to mind. 21 Grams. Nora Durst on The Leftovers. The Brave One. etc etc etc etc