Because he spills his seed on the ground.
Source: On naming her canary 'Onan'; referring to Genesis, 38:9, '
-- Dorothy Parker, (Aug 22 1893-1967), US author, poet, journalist, humorist; She was the celebrated caustic wit of the 1920s; wrote Enough Rope, 1926 and The Little Hours, 1944.