You might be right. Social customs can become entrenched to they point that they persist long after the reason for them had disappeared.
On the other hand, I would bet that a millionaire is expected to pay a huge dowry, especially if his daughter marries into another wealthy family.
Whatever the reason, abortion and infanticide are ugly practices.