Part of it is that you are first time parents and part of it is that giving advice is how people make conversation with parents. Parents like to talk about their kids and other folks commiserate, sympathize, give advice, and generally talk about their own kids in response, as part of the conversation. It's generally not something to take offense at.