The Freys want a male lord of Riverrun with Frey blood. So if Edmure has a son, they don’t need Edmure anymore, because the Tully claim is now inextricably linked to the Freys.
However, if Edmure has a daughter, then her claim is questionable – BRYNDEN Tully could legitimately proceed her in the line of succession.