@Blackstar123, you've got it spot on. I tried releasing one end of the member in the axial direction (to simulate a roller), under only vertical loading, and the end moments disappeared.
When I reinstate the x constraint, the end moments return, and because my structure will be welded at both...