The viral video was shot Sunday at Bandung Zoo, about 90 miles southeast of the capital, Jakarta.
The Bandung Zoo had been in the spotlight recently for its poor welfare standards.
The zoo has repeatedly made headlines for housing starving and sick animals.
Zimbabwe youths complete Mugabe's fall, denouncing him at ZANU-PF meeting
Churches in Zimbabwe have reportedly endorsed President Emmerson Mnangagwa's government, saying that the country "is not a militarised state".
A spokesperson for the zoo said it regrets the incident, and pointed to a warning sign forbidding visitors from giving food and cigarettes to animals, according to the AFP. Tori, an orangutan famous for having a decade-long smoking habit in another Indonesian zoo, was reported to have picked up smoking from cigarette butts left by visitors. Indonesian zoos have always been under fire for their treatment of animals.
But, the officer responsible may have been in the bathroom at the time, he said.
In May 2016, Yani, a Sumatran elephant, was photographed there, reportedly "crying hours before it died".
The zoo where the latest incident took place was termed "death zoo" in the past, with activists calling for its closure, after a video released early 2017 showed skeletal-looking bear begging for food.
Jakarta Globe reported in 2015 that Indonesia now has 58 registered zoos but only four of them are properly accredited or considered passable by the government.