Your printer may be offline because it has many moving parts, and there are many different ways it can fail.
Technology is weird sometimes. I can control my thermostat with my voice, but sometimes my printer can feel just as confusing and unreliable as they were 20 years ago ...