Why do tampons stop my bleeding

It’s rare when I use tampons , but when I do.. I stop bleeding ? it doesn’t soak up the blood like it’s supposed. Why ?