lizmonster summed it up nicely.
While women and men have different
average performances, interests, inclinations etc. for many things, i
ndividuals of all genders fall all over the spectrum. Very, very few people will be "typical" for their gender in all respects. Most of us are mixes of traits that are stereotypically masculine or feminine or somewhere in the middle. IME, guys (in our culture, at least) tend to deny this more, perhaps because the feminine is devalued, so they feel threatened if they discover a stereotypically feminine trait within themselves (I'm guessing)? Even biological traits
don't sort as neatly as people are often taught.
The pitfall people often fall into when writing someone not their gender is to worry overmuch about whether or not "a man" or "a woman" would think or do X, Y or Z. I don't care much about fancy clothes, and my favorite shoes are flat with a large toe box and good arch support (not having my feet hurt is important to me) and go well with jeans and tee shirts. I love science and also tend to value logic and analysis over raw feelings when it comes to decision making. I think babies are cute, but my arms don't ache to hold them, and I'm fine that I never had one. These things do not make me a "man with boobs."
The answer is always some men or some women will, even if it's not something everyone of their gender does.
Give your characters a reason for being who they are, for having the interests, values, skills and thought processes they do, and it shouldn't be an issue.