how to make an Arrow falling mechanics

Hi, i am currently making a game where i tap the object to keep it bouncing and not making it fall on the ground, i was thinking that every time i tap the object it flies head first and when it reached its highest point and starts falling, it flips and falls head first too. Then i tap it again and head first again flying.

I already have everything except the script for that object. Help me please.

This is not a question about Unity

You are asking for a script.

Go step by step and look for the functions you need (move, rotate, gravity…)