Though the best rooftop tents keep you distanced from ground-dwelling wildlife, they do not provide any specific protection from bears. Therefore, whether you are camping in a rooftop tent or tent camping more traditionally on the ground, you should diligently practice all bear-safe protocols.
In some cases, keeping food and scented items inside a closed and locked vehicle is considered bear-safe, though, in other areas, anti-bear containers are required. Be sure to check the campground regulations before planning your trip. And when in bear country, never bring any food or scented items into the tent with you, and always be prepared with a bear deterrent.