I'm thinking the spotting inside the hose end might be a dark colored fabric lint that may have adhered to the mask connector at some point when it was washed and still wet and subsequently stained the rubber in the hose(?)
Mold most usually needs a spore and dampness to start growth. If there are mold spores as dried dust present in the air or surfaces where you washed the hose and mask, it's possible the hose/mask could have become contaminated and growth could have occurred. Is there a remote chance there might be a mold issue in your house? The bathroom in particular if hot showers are taken and the air isn't exhausted well.
https://www.health.ny.gov/publications/7287/
https://www.mayoclinic.org/diseases-con ... c-20351519
If it were me and I wanted to try and save the hose, I might try a 1:1 solution of household bleach and water and use a cotton Q-Tip to swab around the inside of the connection and a cold water rinse to remove any residual bleach. Wash it after as noted below and let it dry well.
I do wash my hose and mask usually once a month if I remember. The mask and headgear get put in a large plastic container that has a screw on lid (large nut container). A couple drops of Dawn dish liquid and hot water to 3/4's full, shake vigorously followed by a couple cold water fills and rinses. The heated hose gets a couple drops of the Dawn and filled with hot water and 'sloshed' back and forth a few times followed by a hot water flush at the tap. Both the hose and mask/headgear are hung outside in the sun to dry. One of the hoses I cleaned this way lasted well over a year and the only reason I replaced it was the DME had supplied me with replacement hoses and not because the hose fell apart or was defective in any way. I have never had and black spotting or other grime what so ever for the two years I've been doing this and the gear smells 'Dawn' fresh after. The water chamber gets a similar cleaning with Dawn and hot water. Daily if I remember the mask gets a wipe down with a baby wipe.