I don't necessarily agree with the answer given on stackexchange. “Why
don't you be more sociable?” can also be used in a context where the “being
sociable” is a regular or repeated occurrence.
- I always invite you along when I go to the pub on Friday evenings but
you never want to come. Why don't you be / aren't you more sociable?
“Why aren't you more sociable?” can also be used in the context of
“right now”, though it's true that it would usually refer to a general
habit. However, if someone is generally not sociable, that
would usually be the case on any one particular occasion too, unless
there's something in the context to indicate otherwise.
- That lady next to you is trying to strike up a conversation with you,
but you seem to be ignoring here. Why don't you be
/ aren't you being / aren't
you more sociable?
The matter of whether we're talking about a regular, general habit or a
present-time situation is determined by the context, not by the form of
the verb.
It may also be the case that “be sociable” can be felt
to be either stative (have a sociable temperament – “he's not very
sociable”) or dynamic (act in a sociable way – “he's not being very
sociable”).