Ugh. It's called engineering because in the beginning each university built or bought one computer. That machine was either owned by the mathematics department or the electrical engineering department (for hopefully obvious reasons). Fast forward a few decades and we have the twin disciplines of Computer Science and Software Engineering.