My mom had me and my sister a month early. Is that genetic? Can it happen to me?

Allie

My mom had me a month early and my sister tried to come 3 months early but she was put on bed rest and still came a month early. Is this genetic? Is it possible for the same thing to happen to me?