Same reason we didn’t try Hirohito after WWII.
Wilhelm lost his position, and that brought about the disasterous Weimar Republic.