Matter distribution in the environment of galaxy clusters, from their cores to their connected cosmic filaments, must in principle be related to the underlying cluster physics and its evolutionary state. We aim to investigate how radial and azimuthal distribution of gas is affected by cluster environments and how it can be related to cluster-mass assembly history. We first analysed the radial physical properties of gas (velocity, temperature, and density) around 415 galaxy cluster environments from IllustrisTNG simulations at z = 0 (TNG300-1). Whereas hot plasma is virialised inside clusters (< R200), the dynamics of a warm, hot, intergalactic medium (WHIM) can be separated in two regimes: accumulating and slowly infalling gas at cluster peripheries (∼ R200) and fast infalling motions outside clusters (> 1.5R200). The azimuthal distribution of dark matter (DM), hot, and warm gas phases is secondly statistically probed by decomposing their 2D distribution in harmonic space. Inside clusters, the azimuthal symmetries of DM and hot gas trace cluster structural properties well. These include their centre offsets, substructure fractions, and elliptical shapes. Beyond cluster-virialised regions, we find that WHIM gas follows the azimuthal distribution of DM, thus tracing cosmic filament patterns. Azimuthal symmetries of hot and warm gas distribution are finally shown to be imprints of cluster mass assembly history, strongly correlated with the formation time, mass accretion rate, and dynamical state of clusters. The azimuthal mode decomposition of 2D gas distribution is a promising probe to assess the 3D physical and dynamical cluster properties up to their connected cosmic filaments.