Two different results from "Make Compound Shape" option

Hi, I am getting two different results from "Make Compound Shape" option from Pathfinder Tool.
As you can see if I right-click on the Pathfinder panel, I get to "Make Compound Shape" and the result I am trying to get is

But I keep getting this instead.

I appreciate if you can tell me the origin of this problem. Thank you!