I think it is at least partially psychosomatic - people get restless from coffee because they expect to, and because it is a pick-me-up in the morning, they believe it is also going to wake them up if drunk at night.Sure, caffeine is a stimulant, but American coffee has extremely low doses.