AY has properly denied the claim because it did not operate the JFK-DCA flight and its flight arrived on time. AA will deny a claim because it is not an EU carrier and did not operate a flight departing from the EU.
While OP was delayed at his final ticketed destination more than 4 hours late, no carrier is liable for compensation.