Who is "they"?
Don't you guys mean the market?
The price of a stock is determined by bid and ask.
So what happens at ex-dividend is that the bid and asks go lower, because the market participants know a dividend was coming.
You can profit with this especially in bull market.
You...