I myself am a coder because I loved modding games when I was younger. I do like creating things regardless, but I got to that point because a childhood friend shared PC games with me (games that his uncle shared with him)... and then you end up spending a large chunk of your childhood on the computer, so it's natural to progress down that path. But I know both guys and girls that played games like me and chose not to do a career that is computer-related.
It'd be great to have more gender balance in computer science, but actually in all fields too. I found in my art history classes in college that the class was around 80-90% female, for every class I took. This was basically the opposite of my computer science classes...
Man though, it's tough to judge society in the present lol.