The move is seen as at least partially aimed at winning public support for boosting the country’s defense capabilities.