Conversation so far:
What foreign affairs was Wilhelm II, German Emperor involved in?
Wilhelm II, German Emperor invented and spread fears of a yellow peril trying to interest other European rulers in the perils they faced by invading China.
When did Wilhelm II, German Emperor gain the position of German Emperor?
Wilhelm II, German Emperor reigned from 15 June 1888 until his abdication on 9 November 1918 shortly before Germany's defeat in World War I.
Is there anything important I should know about Wilhelm II, German Emperor?
A domestic triumph for Wilhelm II, German Emperor was when his daughter Victoria Louise married the Duke of Brunswick in 1913.
Did Wilhelm II, German Emperor accept his daughter's marriage?
Princess Victoria Louise of Prussia's marriage to the Duke of Brunswick helped heal the rift between the House of Hanover and the House of Hohenzollern.
Why was there a rift between the House of Hanover and the House of Hohenzollern?
The rift between the House of Hanover and the House of Hohenzollern followed the annexation of Hanover by Prussia in 1866.
Were there any other foreign affairs for Wilhelm II, German Emperor besides everything mentioned previously?
Wilhelm II, German Emperor's turbulent reign culminated in his guarantee of military support to Austria-Hungary during the crisis of July 1914, resulting in the outbreak of World War I.

Question: Was there a reason behind his support?
Self-contained rewrite: Was there a reason behind Wilhelm II, German Emperor's support of Austria-Hungary during the crisis of July 1914?