Hello,
We have done some tests using your HTML and custom images, and both tables are added correctly and the images are inserted too.
Please note that phpdocx works as a web browser when adding images. If an image doesn't exist (or it can't be readed with PHP or it's corrupted), phpdocx ignores it and the image is not added to the document. Please check that the images you are adding exist and the paths are correct. We see you are adding JPG images in the first HTML and PNG in the second HTML; phpdocx is compatible with both image formats (and also others), but we just wanted to comment it so you can check if the image paths are correct in both cases.
If you send to contact[at]phpdocx the DOCX output you get after running your code (using the HTML that is not adding the images), we'll check it. If you also send the images you are adding we'll test them too.
Regards.