This is because:
For example, in the graph below, there's a negative weight edge CE with weight -13. The actual shortest path to E is 1 (shown by red arrows), but the algorithm calculates it as 10:
For graphs with negative weight edges, other algorithms (such as the Bellman-Ford algorithm) must be used to solve the shortest path problem.
If you want to see Dijkstra calculate the shortest path step by step, you can experience it on my Dijkstra algorithm visualization page.