Foreign key constraints, you need to delete dependent records first.