"sale results in negative balance"

Hi,

I’ve got a transaction in history that results in negative balance message. Not sure how can I resolve this and why is it appearing in the first place.