So we got a new kitty in January 8th

We was told she was 3months but not to sure the lady that had her said she was born Oct 3rd of 2019 and they took her to the vet for her first shots but I check her ears the other day and she had alot of black dry wax stuff in her ears so I wipe it out as much as I could and then the next day there was more. So I went to the store and got ear mite medicine and this is what has came out.

I'm not sure if they cleaned her ears at the vet or not but my question is how do they get it and can my daughter or I get them.