Probably because most users of excel don't have any experience installing and running Python which is even a pain in the ass for people that know Python lol.
You also have people using Excel on iOS, and Android devices. This allows them to use and read Python in their spreadsheets.