In the span of a few hours on Friday, Amazon.com Inc. banned and then unbanned the TikTok video-sharing app from employee mobile devices, calling the move a mistake.

The news generated widespread attention for the Chinese-owned social media platform coming the same week U.S. Secretary of State Mike Pompeo said the United States is "certainly looking at" banning TikTok, suggesting it shared information with the Chinese government.

It was not immediately clear what led to the initial ban by Amazon. One person familiar with the matter said senior Amazon executives were unaware of the request to delete TikTok from employee devices. The ban was reversed after TikTok and Amazon representatives discussed the matter, according to an email sent to TikTok employees.