Casein is a protein found in dairy products and may cause discomfort. That's why, it is important to make sure it does not irritate your gut and cause inflammation.
Milk, cheese, yoghurt, and other dairy products contain 70% to 80% of casein. Hence, the need to limit them.
However, if you don’t observe any discomfort, then there is no need to restrict them from the diet.