In the early days, many online casinos developed their own game software. The trend shifted some time ago in favor of external software providers that could focus on development only.
It also gave smaller development firms the chance to niche themselves and innovate and still have the opportunity to supply one or more casinos if the product were successful with customers. A network like this allows everyone to do what they are best at.