When you research Beachhead tech and put the ram into range attack mode if you put infantry fired arrow count improves but when you put ram back to normal mode then again if you put them arrow mode while infantry inside it only fires one arrow.
Just put ram into arrow mode put infantry observe the increase in arrow numbers.Then put ram in to normal mode then put it into arrow mode again you will see there is only one arrow fired.