Mechanisms for Huff-n-Puff Cyclic Gas Injection into Unconventional Reservoirs