This is a question for Medicaid in your state. NJ has or used to have where families are covered. You should get WICK before and after your pregnacy. It will pay for formula, milk, cereal, peanut butter and cheese.
It all depends on the state too. Some states are not under the old Medicaid rules and expect able bodied adults to work. Check with your states Medicaid office for the best answers.
Neither of those have anything to do with Medicaid eligibility. It all comes down to income. You may qualify because of the pregnant but he may not be eligible if his/your income is too high. He isn’t eligible simply because you are eligible.