PLAN B

Why does plan B cause random bleeding? Is it normal? and does that mean it worked? I had spotting for about 4 days then my ACTUALLY period came, when that period came off, the spotting from the pill stopped for good... I just want to know why it causes bleeding.