There should be some pressure that is released when you take the gas cap off. The other thing you may be hearing is the fuel pump. It is located in the fuel tank, and when the key is turned on or off, it may change the pressure on the gas line and that is what is making the sound. Someone else may have some better ideas, but I don't think that it is something you need to worry about.