Declining PhD Interview
Dear XYZ,
thank you for considering me for this position. Unfortunately, for personal reasons I am no longer considering this option. Hence, I have to decline this invitation.
With best regards, clearseplex

In other words, like you would politely say no to any other opportunity - polite, short, and without going into details why exactly you changed your mind.