These are Submitted records on the IGI - but, have a great air of truth about them, and can be pretty much 'seen' by a quick checking of Census and Scotlands People:
James MOYES born 28 Dec 1824 Dunfermline, died 7 Nov 1891
Son of David MOYES and Mary ALLAN
Married 1) : on 16 Aug 1845, Dunfermline
to:
Jean HUTTON born abt 1823 Dunfermline, died 17 Jan 1860, Golfdrum, Dunfermline,
dau of John HUTTON and Jane WHITE (WHYTE)
Married 2) on 17 Dec 1860 Dunfermline
to:
Elizabeth RUSSELL born abt 1828 Kirkcaldy, died 22 Apr 1899 Dunfermline
dau of John RUSSELL and Catherine McINTOSH
Further checks show James' first wife Jean HUTTON probably died in or as a result of childbirth with their last child Jemima Hutton MOYES. No doubt partly compelled due to the motherless children and baby, by the years end of 1860 James had remarried and the children, incl Jemima would have had a stepmother in Elizabeth RUSSELL (baby Jemima died in Feb 1861).
The marriage record of Agnes and Andrew in 1866 on the face of it, appears to indicate Andrew was illigitimate (no father listed) and that his mother married a SIMPSON between 1849 and 1851 but then died before the 1851 Census.
What we don't know, is if MOYES was his mother's maiden name or did he adopt the MOYES name from the people who raised him and for whom he named his children in the traditional naming pattern. Since it appears from Census that Andrew's 1st son and 2nd daughter were named for James MOYES and Jean HUTTON.
It is very likely though, Andrew's mother is blood related to either James MOYES or Jean HUTTON.
The 1891 Census has Andrew and Agnes in Markinch with their children.
In 1901, just Agnes and children, in Auchterderran - was she listed as a widow?
The only death I can see to fit anywhere near for Andrew MOYES 1891 to 1901, is in Marckinch 1894 age 52 - but that would make a year of birth 1842-ish.
Altogether 3 x Andrew MOYES died in Fife between 1891 and 1901.
1 was aged between 1 and 20
1 was aged between 50 and 60 (ie: in 1894 age 52)
1 was aged between 70 and 80
The 1891 Census for Fife (not in Markinch) does have an Andrew MOYES b abt 1842 but he is still alive in 1901.
Cheers
AMBLY