Your pool is cloudy because of calcium or bad timing.
Probably high calcium levels or you shocked when the sun was still up. Either way, it’s fixable without a chemistry degree.
If the water turned milky right after shocking, you likely have hard water (high calcium hardness). Calcium can precipitate out when the pH and alkalinity spike from the shock. Cheap test strips won’t always catch this. Get a proper drop test kit for calcium hardness. If it’s over 400 ppm, half-drain and refill is the only real fix.
More common: You shocked during the afternoon. Chlorine burns off fast in direct sun. Without enough residual chlorine, algae and bacteria come back and make the water cloudy. Always shock at dusk and run the filter overnight. That gives the chlorine a full dark cycle to work.
Also check pH and alkalinity before shocking. If pH is above 7.8, the chlorine is way less effective. You’re just throwing money in the water.
Future you wants a clear pool, not a science project.