Texas cybersecurity officials are investigating a cyberattack on the Texas Commission on Environmental Quality that has caused outages at the agency’s offices.