Sleep therapists and the studies they have done over the years will tell you that the kind of mattress one sleeps on plays a large part in the quality as well as quality of sleep one gets, but physiological factors play a part as well. It makes sense that if a person is under a lot of stress and has a racing mind and thoughts, or is worried about something that they will naturally have a problem getting a good nights rest.