Iranian state television said a liquified natural gas tanker came under attack Tuesday in the Strait of Hormuz off Oman after ignoring warnings, implying Tehran carried out the assault on a tanker it said was carrying natural gas from Qatar.