Often, not always, many phones purchased through a Service Provider for example—Sprint, ATT, Boost, MetroPCS,... —are locked in to the Android version it was purchased with.
While helping friends & associates with this I've had to Root their devices, when possible, to manually flash new OS's. Sad way of business but it is just that— business.