Because every click loads a whole new page. Between the old page going and the new one painting, the browser has nothing of yours to show, and what it shows by default is white.
Why it is worse on some shops
- Dark themes. A white frame between two dark pages is a flash; between two white pages nobody notices it.
- Slow first paint. The longer the new page takes to draw its background, the longer the gap. Heavy scripts in the head of the page stretch it.
- Phones on mobile data, where every load takes longer.
Three ways to remove it
- Cover it. A page transition closes a cover in your colours on the click, loads the next page behind it and opens when the page is ready. The gap is still there; the visitor never sees it. This is what Segue does.
- Cross-fade it. Three lines of CSS make the browser fade from the old page to the new one in Chrome, Edge and Safari.
- Shorten it. Fewer apps loading scripts at the top of the page means an earlier first paint. Worth doing whatever else you choose.