This is not a theory, it is an observable fact. Gas pressure in nature does not exist without a container.