Could you elaborate on the historical context behind the question, "Why did Japan stop using ninjas?"? It's an intriguing inquiry that suggests a once prevalent practice of employing ninjas, which begs the question: What factors contributed to their decline in use? Was it due to changes in warfare tactics, a shift in societal values, or perhaps the emergence of new technologies that rendered their skills obsolete? Understanding the evolution of Japanese history and culture may provide insights into why ninjas, once shrouded in mystery and admired for their stealth and martial prowess, eventually faded from prominence.