I know. However, there are subtle differences between them. It is widely believed that dark matter is matter, just that it does not interact with the ordinary matter. It would be a bit like neutrinos in steroids (just for the analogy). Neutrinos, for the most part, don't interact with the ordinary matter, but at times it is possible to detect them. Essentially, the probability of them interacting is low, but not zero. I think that scientists believe that something similar might be with the dark matter, just that the probability of interaction is much smaller. And they are confident that the dark matter is there, otherwise the gravity would have been behaving differently. Essentially for the gravity to work as it works, there need to be a lot more matter right there. But there isn't. And here, comes the dark matter. Actually, the matter is right there, but we cannot see it, we cannot detect it, but we can see its effect on gravity.
Dark energy is very different. We cannot see it, we cannot detect, we have no idea what it might be (matter, energy, something else*). But we know that considering only the matter and the dark matter in the universe, the inflation wouldn't be working as it works now. Everything is going further from each other with increasing speed. There needs to be something that is making the universe behave in this way. And so, the physicists invented the term of 'dark energy', essentially, the phenomenon that is making the universe behave this way.
I might be wrong, but I think that the common belief is that dark matter might be closer (more similar) to the ordinary matter than to dark energy. We kinda know what dark matter might be. We don't know at all what dark energy might be.
* Again, I might be wrong (I am not a physicist), but the amount of dark energy in the universe seems to increase all the time, to the point wherein future, close to 100% of energy/matter in the universe, would be dark energy. So, it is very likely that dark energy is something much more mysterious than just energy we cannot detect.