The picture is too blurry I can’t see it
They have flags because a flag can show one of two things : The lords coat of arms, and so which noble owns the castle the colours of the lords mater for an example a kings coat of arms or a country's flag , showing where its allegiance lies.
It depends if the creator of the robot makes it to have a motherly nature
Need the context here—- what book or story are you discussing? You will need to post again or respond and then I can help you.