1238483 So you got a bunch of boy babies in a row. It happens. It's not a bug. If you search a little here, you will find posts where others have reported the same and still others report that they get a bunch of girl babies in a row. And yes, it does seem odd when it happens. Idk if it is truly random or not, but I have had it happen both ways, with boys and girls in my saves, in the same long term save in fact. Eventually it will change and you will get a girl though, just maybe not with certain couples. It is more noticeable if you play generationally than if you play with a lot of households rotationally or free style. And imo, what gender you get when you have a baby is pretty much like it happens in RL.
What I have noticed over the years is that I have couples that have all boys, others that have all girls and others that have both regardless of the overall number of kids the couple has. I also think the game seems to try to maintain an overall gender balance too. If you pay attention to the overall numbers of guys and girls you have in a save over time, you might notice that when there are more sims of one gender versus the other, the game seems to try to even the numbers and will generate quite a few more of the minority gender when it makes new babies. So, what you have going on with 10 boys in a row could be a result of having more girls in the game overall. If you want to keep track of this yourself and are a mod user, MCCC has a report function that will give you the numbers whenever you want to know.
Hope this helps.