Mechanical engineering, electrical engineering, civil engineering etc are sciences. Software “engineering” is really not engineering because so much of software is bespoke and does not follow a proper scientific engineering process. It’s much more like craftsmanship. The exception to this is algorithmic computer science.