99.9% of visitors probably have zero clue how to diagnose the problem so it makes sense to have a _friendly_ message acknowledging something went wrong to reduce panic.
Behind the scenes there might be extensive logging & monitoring for engineers to triage the issue.