If you do not know why someone did something, you can say
that they did it for reasons best known to
themselves. You usually use this expression when you do not agree
with what they did.
For reasons best known to himself, Algie changed his name.
COBUILD Advanced English Dictionary. Copyright © HarperCollins Publishers