@literally45-- Have you seen a doctor? It sounds like your toenail might be bruised and infected.
If you have an ingrown nail, it can cut into skin and cause bleeding when there is a physical trauma to the toe. This can in turn cause bruising and infection.
Even toenail fungus can cause pus underneath the nail that sort of looks like a minor bruise. It's best to see a doctor for diagnosis and treatment.