It would be an adjustment to Service connected disability payments that veterans receive, as an increase .
"If you’re the surviving spouse, child, or parent of a service member who died in the line of duty, or the survivor of a Veteran who died from a service-related injury or illness, you may be able to get a tax-free monetary benefit called VA Dependency and Indemnity Compensation (VA DIC). Find out if you can get VA benefits or compensation."
About VA DIC for spouses, dependents, and parents | Veterans Affairs
I am a Gold Star Wife and I receive DIC.
There are many nuances to this benefit and hopefully the VA web site has all the info the survivors need to know.
GSW also has many surviving husbands of service connected deceased veteran wives ,and they can get DIC too.
VA also recognizes same sex marriages and, in many cases common law marriages.
However one condition is that the marriage be at least one year prior to the veteran's death. This condition has prevented death bed marriages, where the veteran might have been the sole support of the wife, and the veteran had a VA disability check coming in every month.
I know a minister who worked for VA for many years, and decades ago it was not unusual for someone to ask him ,once in a while, to marry them to a veteran who was hospitalized, severely ill, and not able to last long. He never did that.