The valley degree of freedom in phononic crystals and metamaterials holds immense promise for manipulating acoustic and elastic waves. However, the impact of acoustic medium properties on valley edge state frequencies and their robustness to one-way propagation in valley topological phononic crystals remains unexplored. While significant attention has been devoted to scatterer design embedded in honeycomb lattices within acoustic and elastic media to achieve valley edge states and topologically protected nontrivial bandgaps, the influence of variations in acoustic medium properties, such as wave velocity and density affected by environmental temperature, has been overlooked. In this study, we investigate the effect of valley edge states and topological phases exhibited by topological phononic lattices in a temperature-dependent acoustic medium. We observe that a decrease in wave velocity and density, influenced by changing environmental temperature, shifts the topological valley edge states to lower frequencies. Therefore, alongside phononic lattice design, it is crucial to consider the impact of acoustic medium properties on the practical application of acoustic topological insulators. This issue becomes particularly significant when a topological phononic crystal is placed in a wave medium that transitions from incompressible to compressible, where wave velocity and density are no longer constant. Our findings offer a novel perspective on investigating topological insulators in variable acoustic media affected by changing thermodynamic and fluid properties.