The pictures clearly shows the problem. The door and windows are not flashed properly, or at all for that matter. Is it possible they added something else after the picture was taken?
Caulking is not the solution for improper flashing. Caulking will last 5-10 years (if that). Proper flashing, 100 years.