The Chinese civil war never officially ended. There was no agreement whatsoever, and the ROC never declared itself as separate, etc. Taiwan is simply a province within the ROC, and the ROC still consists of the mainland. That's what the ROC constitution states.
Invading and annexing isn't some weird thing no one usually does.
Taiwan is the product of a recent civil war.