Sad and angry at boyfriends kids

After spending nine years thinking I can't have kids then conceiving And losing a baby I find myself angry and sad every time I'm around my boyfriends kids. I feel like a piece of shit for being like this but it's so depressing