Why does the ionisation energy of period 2 elements increase along the period, but drop for boron and oxygen?

A Level