Interaction of stars hosting planets with Sgr A* black hole