Is it because the country you were traveling to has less restrictions on security? For example, in many cases, when coming to the US, even after going through security, one is confronted with an additional security scan/check before boarding US flights.
However, within the US, if you stay airside for a domestic connection, there is no need for any security check