Several reasons.
If one of Donald’s previous marriages was valid.
Melania, being a Catholic, was not free to marry Donald without a decree of nullity for both of his previous marriages.
Melania was not able to contract a valid marriage in an Episcopal ceremony.
That’s a Catholic perspective.
As long as neither were married at the time to anyone else, their marriage is valid.