This is suppose to be resulting from bacterial infection. The black marks are the fish's reaction from the infection. It's not suppose to infect other fishes nor will it pass on to the next generation. You can see this on dwarf cichlids too.
Cheers,
Bookmarks