One point is that the rewrite itself costs developer time that could be spent on something else.
Aside from that, rewriting something in C++ based on code in a higher-level language with better abstractions might cost additional developer time, maintainability, and quality.