It is both a reason of money, goals, and technology.
The space shuttle was designed to be a "space truck," to ferry payloads to and from low earth orbit. In fact, since that is the only place it can go, they need a new vehicle regardless to get back to the moon and mars. At the beginning, many launches had a primary focus on launching satellites. However, as costs mounted it started transitioning to science tasks as the powers that be started to accept the fact it was just going to be a very expensive program and satellites could be launched on unmanned rockets for much less cost.
The shuttle ended up having a lot of safety issues because of it's position on the SIDE of the launch stack. Nearly every other launch system, save for the Russian Buran shuttle, has the vehicle/payload on top. It doesn't help that many of the shuttle systems are very fragile and require delicate care and the majority of the cost for the shuttle comes from payroll for the large number of maintenance workers.
However, the shuttle does have some unique capabilities that no other vehicle, current or planned, has. Namely returning heavy payloads (like satellites, experiments) from space. The new vehicles will use a combination of Apollo era design patterns with modern and shuttle influenced technology. They also haven't built a shuttle in almost 20 years. Even then when they built Endeavour they used a lot of spare parts and extras, it would be very expensive to restart production basically from scratch.