After calling the Epstein scandal a hoax and resisting releasing the Justice Dept files for weeks despite promising to do so before being elected, he decided last week to order the Department to investigate any links to Democrats and banks (in other words, he now wants to investigate a hoax).
Also last week, Democrats and a few Republicans in Congress forced a vote on ordering the release of the files, despite Trump's opposition.
In last few days it's become apparent to him that enough Republicans will support the proposal for it to pass, so he's just flipped and said the House should now vote to release the Epstein files because "we have nothing to hide". That's ludicrous because if he really believed that, he has the authority to order the release himself, so there is no need for any vote. If the vote does pass, and it gets through the Senate (probably unlikely), he will have to approve it. What's the bet that he would refuse to approve it? The guy's a complete moron.