Most common themes on this site are -
1) Don’t assume a new part is good out of the box.
2) Don’t assume a reman part is good out of the box or will last for years.
3) Often and most likely you get what you pay for.
4) Parts are not as good as they used to be.
5) With brakes buy the name brand parts not private label.
Americans have spoken, we want cheap prices. So we now get cheap goods. Remember when folks only bought made in America? Now it’s really hard to find made in America.
Now I am no expert on these master cylinders, i have not taken one apart. It could be if one or the other part of the master does not have pressure the other half does not work right. But I believe the idea is if one half fails the other half works.
To your point a master cylinder is a safety item and should be made to last for years. One thought is perhaps your brake system had water, rust, or contaminants in it.(Most do, that is why your brake fluid turns color and most car companies suggest flushing your brake system periodically.) That made it to your master cylinder and caused a pre-mature failure. (Might have caused the wheel cylinder to fail too.) If your brake fluid in the master is as clean as new, then it was just likely a bad/cheap master cylinder seal or you got that 1 in 100 lemon master cylinder.