While this was by no means a decisive issue, this falling behind in military technology was certainly a contributory factor in the coming decline.
Although they had ample reserves of copper (the key component of bronze) within their boundaries, the Egyptians lacked sources of the far more effective metal. One of the differences between their armies was that while the Egyptians were armed with weapons of bronze, the Hittites had access to a new material - iron.