Was Jesus really the Son of David? | Answering the Atheist

Inquiry:
Was Jesus the Son of David? Several texts say He was (Acts 2:30; 13:23; Romans 1:3; 2 Timothy 2:8; Revelation 22:16), but Matthew 22:45 and Mark 12:35-37 say He was not. Is there a contradiction?