The reason why they call ninja shinobi comes from the word Tokugawa which means to hide. So when people found out that the Ninja was hiding, they thought of them as a man of darkness.