Women tend to cook often because it's a creative output. Because women are naturally more creative, this means that they feel in their element when in the kitchen preparing food. This does not apply to all women.
Women traditionally have been the cooks but men are often very good cooks. Some women are terrible at cooking. Men may wish women to have the role of cook but a woman does not have to accept this role. That being said, it is wise for everyone to know something of cooking.
This is a very sexist question first off. Both men and women cook, if you are in a situation where you are a woman and the only one cooking it is because you are either not requiring help or asking for it. Do not assume men do not cook because a certain man or group of men do not.