We can all provide some pretty good guesses at the issue, but a full set of test results will probably reveal why your water turned cloudy

What size pool? Does it have a vinyl liner?