how are the monitors hooked up to the Gpu ports, is one hdmi and the other a display cable?
also spiltters can do this when the cable is on the way out
thats hardware and most of the time its one of those two but software can also cause Gpu to stop detecting because the makers drivers have been replaced with some 'one size fits all' crap... have you just done some kind of upgrade?