How it happens
You test a 20-bar breakout, then 30, then 50, then add a filter, then remove a coin. Each try is a draw from the same data. After enough draws something looks good by chance, and the best of twenty worthless variants can show a Sharpe above 1.