The payment of a dividend is a neutral event, since the stock price will open lower, by the dividend amount, on the ex-date.
However, stocks are traded by human beings. And human beings like to "get in" before the dividend. A lot of newbies trading stocks don't understand how the ex-date...