Why is my fridge freezing food in the fridge compartment?
Food freezing where it should not usually means either the air is colder than intended, or the food is sitting in the path of the coldest air.
Placement is the most common and simplest cause. Most modern fridges cool by blowing air in from the freezer through vents, usually at the back or top. Items directly in front of a vent receive air well below the compartment average and freeze while the rest of the fridge is fine. Moving items away from the vent, and not packing the back of the shelves tightly, resolves a large share of cases.
The temperature setting is the next candidate. Many dials are unmarked or use arbitrary numbers, so it is easy to have it colder than intended. The recommended range is around three to five degrees Celsius. A separate thermometer placed in the middle of the fridge is worth using, because built-in displays report the sensor location rather than the whole compartment and can be several degrees out.
How full the fridge is matters more than people expect. A nearly empty fridge has little thermal mass, so the compressor cycles produce larger temperature swings, and the low points can dip below freezing. A well-stocked fridge is more stable.
A faulty thermostat or a damper stuck open will cause persistent overcooling regardless of settings, and that needs a repair.
One detail worth knowing: the crisper drawers are designed to be slightly humid and are usually the warmest part, so items freezing in a crisper points more strongly at a fault than items freezing on the top shelf near a vent.