To apologize is not just “Xin lỗi”. Instead, try to add an excuse, and what would do to compensate to your friend. Look at this video to learn more about how to “nói xin lỗi” in the most native way