Keyword A presents a tougher competition despite lower DA because it's targeted more precisely by the ranking pages. Ranking for Keyword B might be achievable, but it would require creating high-quality content that addresses user intent effectively, even if you don't stuff the keyword all over the page.
Keyword A would likely be more difficult to rank.