WASHINGTON — The Trump administration on Tuesday denied Egypt $96 million in aid and delayed $195 million in military funding because of concerns over Egypt’s human rights record and its cozy relationship with North Korea.

Analysts said they were surprised by the moves, which followed an Oval Office meeting in April between President Trump and President Abdel Fattah el-Sisi of Egypt, during which Mr. Trump lavished praise on the military strongman.

“I just want to let everybody know, in case there was any doubt, that we are very much behind President el-Sisi,” Mr. Trump said. “He’s done a fantastic job in a very difficult situation. We are very much behind Egypt and the people of Egypt. The United States has, believe me, backing, and we have strong backing.”

Egypt is among the largest recipients of United States aid. But on Tuesday, the State Department confirmed that it was curtailing its funding to the country because of its lack of progress in human rights and a new law restricting the activities of nongovernmental organizations.