The first ship is a USNS ship - owned by the Navy, a part of the MSC (Military Sealift Command) and generally crewed by civilains. Here is an aerial image of one .

The second image IS most likely an LHA/LHD.