This is one bad thing in Indian law.
Everyone blames things on patriarchy society. But today we mostly see problems due to feminism or girls/women misusing the law in their favour.
If this is a patriarchy society, once a girl is married away, she should not have any claim to her father’s property, only her parents-in-law’s property through her husband which he will be inheriting. But our Indian law and courts are there to cause problems to the good people.