The same word in Biblical Hebrew, 'lacham' means both 'eat' and 'war'. How can the same word have opposite meanings?

The same word in Biblical Hebrew, ‘lacham’ means both ‘eat’ and ‘war’. How can the same word have opposite meanings?