This particular strucure with "for" is very idiomatic and is often used to introduce contrast (a subordinate clause indicating contrast). Consider the following sentence He's very optimistic for a man who's just been diagnosed with cancer. You don't expect someone who's just been diagnosed with cancer to be optimistic just as you don't expect someone who is supposed to be sleeping to talk a lot.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.