Because the tweet function invokes a pop-up window, which browsers won't allow unless attached to a click function.