WASHINGTON—Donald J. Trump stirred controversy on Friday by claiming that his son Eric was former President Joe Biden’s fault.

Responding to a reporter’s question about Eric, Trump shot back, “That was Biden. That wasn’t Trump.”