Because some puns are based on pronunciation, puns are more obvious when spoken aloud. For example: “This rock is gneiss, but don’t take it for granite.” This reads (with a US accent) similarly to “This rock is nice, but don’t take it for granted.” (Both “gneiss” and “granite” are types of rock.)