Why would my boyfriend say “don’t get any ideas” about a wedding I’m attending?

When we first started dating he said he knows he’ll get married in the future. But right now I understand it’s too early but having ideas doesn’t mean now surely…just for the future…he made that comment and then put his hand on my stomach and said “unless this” meaning I fall pregnant by accident. Why would he only want to get married if I get pregnant but not otherwise? That doesn’t seem like it’s for the right reasons to me, but he’s catholic so maybe that’s why it makes sense to him if he’s prioritising religion first.

Why would my boyfriend say “don’t get any ideas” about a wedding I’m attending?
Post Opinion