A person may not be stupid, but still do silly things or be acting silly.
In English, and in Western culture in general, there is a difference between saying someone is acting stupidly versus saying that they are stupid.
The first implies a temporary lapse in judgment. Everyone, no matter how intelligent, does something stupid from time to time.
The second is a judgement on the person themselves. It implies that they not just acting in a stupid manner, but that stupidity is part of their very core, something that they can't improve on or escape.
The second judgement is considered to be much more of an insult than the first.