The military says its aim is to increase pressure on Hamas militants to return hostages they still hold.