I can see two reasons she was denied pension in husband no. 2s name, first that she didn't qualify as being indigent. I would not think the second marriage would have been the reason. Remarrying would have disqualified her re husband no. 1.
Secondly, the second husband may not have been eligible for a variety or reasons, one could have been taking the oath of allegiance to the United States before the end of the war.