The answer to 'electrical wiring gets hot' is that overheated wiring is a serious electrical issue that requires immediate attention. Overheating can be caused by loose connections, damaged wires, overloaded circuits, or improper wiring. Symptoms include warm outlets, flickering lights, burning smells, and even smoke or sparks.
Overheated wiring is a fire hazard and should never be ignored. If you notice any signs of overheating, shut off power to the affected area immediately and call a licensed electrician to diagnose and repair the problem. Attempting to fix electrical issues yourself can be extremely dangerous if you don't have the proper training and experience.