I would strong suggest reading the Ted Chiang short story on which it is based: Stories of your Life.
Spoilers ahead:
The movie necessarily makes some changes and adds some action through geopolitics, but at its core it remains the story of a mother that knows that her child will die and her marriage will fall apart; yet she still decides to get married and have a child. It's a story about accepting fate and the ephemerality of life and happiness - and then aliens also happen to be around with a very cool perspective on time to make the whole story work.