I don't understand why my tax returns once I file them it says that everything looks good and it's been rejected like two times??

I already fixed the issue but it's like if something is wrong why can't it let me know beforehand