There are certain foods such as asparagus which can cause urine to take on a cloudy appearance, though it is generally not a cause for concern as it is perfectly natural and quite harmless. Other foods that can sometimes cause cloudy urine include milk, beets, and orange juice.
Dehydration is a very common cause of cloudy urine, so you will want to make sure that you are getting plenty of water and other clear liquids in your diet so that you can stay as healthy as possible. While consuming substances usually isn’t a cause for cloudy urine, that is not always the case.