If the child has some sort of food allergy or food intolerance, particularly gluten intolerance, the nutritional disruption caused by the problem food may cause speech and other developmental problems.
Speech development and feeding problems can be a factor since it is important for your growing child to get proper nutrition, though it is not a primary cause.
Anything is possible. I know that the first step is to contact your doctor and have your toddler tested. There are tests that can be done to determine this problem.