Only a guild admin can appoint a moderator.
To appoint a moderator, open the guild window, go to the My Guild tab, and open the Guild Info window.

Tap on the desired player and select Assign Moderator.
You can revoke a player's moderator privileges in the same menu by selecting the Remove Moderator option.