CV Gap: PhD dropout with no reliable reference
You need to fill that gap. Employers have to allow for the worst case. Currently, they have no evidence that distinguishes your PhD attempt from two years sitting around doing nothing, or even two years in prison.

First contact your former supervisor. Even if they cannot give you a good reference for your research skills etc., they may be willing to say you were a PhD student and roughly what you were doing during those two years.

If that does not work, try the department and the school. You are not looking for a recommendation as a researcher, just a statement that you were registered as a graduate student during that period.

In dealing with potential employers, you can say that you tried being a PhD student but it did not work out, and is not the right path for you.