still makes ice/won't dispense water

refrigerator works fine, freezer works fine, still making ice, but can’t get water through the door. Its almost like the water lines are freezing up. If I shut down the freezer for 4-6 hours the water starts working again for a day or so and then just stops again. But I can’t use my freezer because I am turning it on and off so frequently. I am stumped, I have replaced the water filter and not sure what else to do. Help! :confused:

Thanks