All page in step go on home page

I need an opinion for my site which I said has always had good indexing which I take care of down to the smallest details, I’ve had a data collapse for a few weeks even though from every type of analysis I do the pages are in good condition. state and without errors. The only abnormal thing I noticed is that every page indexed in SERP when you click takes you to the Homepage even if it has the correct link, in fact reloading the page opens the correct page. I tried to solve the problem but I can’t find anything wrong or any info on the web with any similar problem. It almost seems like a redirect but in the end it isn’t. Could the problem be here on cloudflare?