They're not. Many of us don't feel "Do you realize your mistake?" is OK either, though it's common. '"Do you recognize your mistake?" would make more sense to me. Grammarians who accept '...realize your mistake' presumably see it as an elided form of '"Do you realize [that you have made a] mistake?"