That's the speculation.
He did it so Trump could make the fake claim Mueller leaked them and so Republicans can make the dubious claim that Mueller has expanded his enquiry beyond his remit.
It's all designed to undermine the integrity of the investigation.
Trump tricks. How long will Giuliani last? How long before Trump's supporters finally realise they are applicants to Trump U.