How do you tell? I’m feeling lost...

Hey guys, I’ve been with my husband for 10 years & we have a 3 year old when I was pregnant he did something that broke my trust & I just dunno I still feel distant sometimes I fell okay until I remember... how do you know if you are with your partner for love over habit/easier for the kids? I’ve been dreaming about my ex that’s what got me thinking do I miss him? I want to add my partner has never been good in bed but I didn’t mind before now it kinda bothers me maybe cos I don’t look at him the same? I dunno help me 😔 anything I can try to figure out what I want & how I feel please