There are multiple theories around why Apple ditched MagSafe. A popular one is simply because USB-C is sleeker and works as an all-rounder than a dedicated MagSafe port. Another theory is on Reddit, stating that Apple got rid of MagSafe because it lost a case for leaking the schematics without the second supplier's consent.