Building an emotional connection

Hi 31F here. I feel like I struggle in dating because men are initially attracted to me for my looks, but lose interest because of lack of deeper or emotional connection.

Looking for ways to build this. What makes you have an emotional connection to a woman that’s long lasting and makes you want to commit permanently?