Non-uniform temperature distribution arises due to various factors, such as localized heating from electrical currents, photothermal effects, and thermal boundary resistance at the interfaces of different materials. At the nanoscale, the thermal conductivity of materials can vary significantly, further exacerbating the non-uniformity.