The case arose out of a matrimonial dispute between an army officer and his wife, who married in April 2017 but separated soon thereafter.