Pensive means thoughtful. A pen is a writing tool that authors use to write down their thoughts. Authors are thoughtful and use pens. The joke is playing on the word "pensive" and the word "pen" that we see in it.
Authors can be very PENsive .