Because that error message is a server-side error.
The front-end doesn't keep track of all kinds of delays you could encounter (Comments, comment flags, vote counts, moderation dialogs, just to name a few)
This means that the front-end wouldn't know that it has to wait a second to perform the action.
This would also add a significant layer of complexity for too little gain:
The front-end would also have to inform the user, somehow, that it's waiting to perform the action the user just initiated. While waiting, the initiated action also would have to be blocked from being triggered again.
If the user performs another action during the wait, the "queued" action may have to be cancelled.