Some forms of cheese can be very high in glutamate, and glutamate has been implicated in anxiety, hypertension, and general malaise. Some people are more sensitive to it than others. Other foods that are high in glutamate are things like soy sauce, cold cuts, certain broths and processed foods. Also, if you are lactose intolerant, then milk and cheese could explain your diarrhea. If I eat foods high in glutamate before bed, I will be kept up all night with palpitations and tachycardia.
As an aside, listening to calming music before bed usually helps me sleep when I have insomnia.