Because wiring everything up to a global network 24/7 always sounds like a smashing idea.
White hat hackers have made the first proof of concept for malware that locks a smart thermostat and demands a ransom.
Source: Hackers Make the First-Ever Ransomware for Smart Thermostats | Motherboard