The Palestinian Islamic resistance group, which is popularly known as ‘Hamas’, is originally rooted from Muslim brotherhood. Though brotherhood was banned by the government of Egypt, but it has spread its faith and principle successfully to the other Arabic countries. After talking with some Egyptian people, I know that they show their compassion to Hamas and I think that most of Egyptian people have the same feeling. But why the upper class, especially the Egyptian government dislikes Hamas?
Most of Egyptian people have the same feeling. Why does the upper class dislike hamas ?
Most egyptians, or at least a lot of them, have a negative view of the hamas. The PEW research center asked for this only among muslims (90 % of the general population), and found out that only 49% had a favorable view of the hamas. 51 % of muslims, to which some of the non-muslims can probably be added, is nothing near an "upper class". The poll is a little old, 2010, but it is unlikely that the results would have a major shift.
Why does the egyptian government dislike the hamas ?
You stated it, the hamas originated from the muslim brotherhood which is forbidden in Egypt.
However, it may not be like this very long anymore. This article states that the government may change its attitude towards the hamas.